package com.robam.cloud.usercenter.service;

import com.robam.cloud.common.bean.usercenter.entity.LoginAccount;
import com.robam.cloud.common.bean.usercenter.entity.User;
import com.robam.cloud.common.bean.usercenter.entity.UserSession;
import com.robam.cloud.common.bean.usercenter.form.RealNameForm;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    LoginAccount initAccountUser(UserSession userSession);

    Boolean realVerify(Long loginAccountId);

    User queryUserByAccountId(Long loginAccountId);

    LoginAccount queryLoginAccountByAccountId(Long loginAccountId);

    void realName(RealNameForm realNameForm, HttpServletRequest httpServletRequest);

    User queryCurrentUser(HttpServletRequest httpServletRequest);

    void subscribeEvent(String wechatOpenId);

    void unSubscribeEvent(String wechatOpenId);
}
